package com.lanou3g.code0409.common;

/**
 * If there are no bugs, it was created by Chen FengYao on 2018/4/9;
 * Otherwise, I don't know who created it either
 */

public class TestChar {
    public static void main(String[] args) {

        char a = 'A';
        int a1 = 65;
        char b = (char)a1;// 把65 强制类型转换成char
        int b1 = (int)'A';
        System.out.println(b1);

        char d = 'D'; // 68
        char e = 'E'; // 69
        char f = (char)(e + 103000); // F
        System.out.println(f);
        System.out.println(d > e);

        for (char c = 'a';c <= 'z'; c++){
            String letter = String.valueOf(c);
            System.out.println(c);
        }

//        for (int i = 65; i < 65 + 26; i ++){
//            char c = (char)i;
//            System.out.println(c);
//        }
    }
}
